/**
 * DVN: Distributed Virtual Network Simulation Platform
 * Copyright (c) 2006-2009 Tyson Malchow <tyson.malchow@gmail.com>
 *
 * This file is part of the DVN distributed virtual network simulation
 * program.
 *
 * DVN is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * DVN is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with DVN.  If not, see <http://www.gnu.org/licenses/>.
 */
#ifndef _global_h
#define _global_h

#include <stdarg.h>
#include <stdint.h>
#include "utility.h"

/* from autotools */
#include "config.h"


#ifndef NULL
#define NULL 0
#endif

/* EXIT ERROR CODES */
#define EXIT_OK 0
#define EXIT_NOMEM 1
#define EXIT_UNKNOWN 2

typedef unsigned long long ptime_t;

#define PTIME_INVALID 0
#define PTIME_MAX UINT64_MAX

#endif

